package org.lisz.product.service.impl;

import org.lisz.product.po.Product;
import org.lisz.product.service.ProductService;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;
import java.util.concurrent.TimeUnit;

@Service
public class ProductServiceImpl implements ProductService {

    @Override
    public Product getProductById(Long productId) {
        Product product = new Product();
        product.setId(0L);
        product.setPrice(new BigDecimal("999"));
        product.setProductNamne("朝花夕拾套件");
        product.setNum(2);
        return product;
    }
}
